@jdc: #F23030;

body {
    background-color: #ccc;
}
.jd-layout {
    max-width: 640px;
    min-width: 320px;
    height: 1800px;
    background-color: #fff;
    margin: 0 auto;
}

/*头部*/
.jd-header {
    position: fixed;
    width: 100%;
    height: 40px;
    max-width: 640px;
    min-width: 320px;
    background-color: red;
    padding: 0 50px 0 75px;
    z-index: 999;
    /*输入框*/
    form {
        position: relative;
        width: 100%;
        height: 100px;
        padding: 5px 0;
        input {
            width: 100%;
            height: 30px;
            border-radius: 15px;
            padding-left: 40px;
        }
        .search-icon {
            position: absolute;
            top: 10px;
            left: 10px;
            width: 20px;
            height: 20px;
            background-position: -60px -110px;
        }
    }
    .logo {
        position: absolute;
        top: 10px;
        left: 10px;
        width: 56px;
        height: 21px;
        background-position: 0 -110px;
    }
    .login {
        position: absolute;
        top: 0;
        right: 0;
        width: 50px;
        height: 40px;
        text-align: center;
        line-height: 40px;
        color: #fff;
    }
}

/*轮播图*/
.jd-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    ul {
        width: 1000%;
        -webkit-transform: translateX(-10%);
        transform: translateX(-10%);
        li {
            width: 10%;
            float: left;
            img {
                width: 100%;
            }
        }
    }
    ol {
        position: absolute;
        bottom: 10px;
        left: 50%;
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
        li {
            float: left;
            width: 8px;
            height: 8px;
            margin: 3px;
            border: 1px solid #fff;
            border-radius: 50%;
        }
        li.current {
            background-color: #fff;
        }
    }
} 

/*导航*/
.jd-nav {
    ul {
        padding: 20px 0;
        li {
            float: left;
            width: 20%;
            margin-bottom: 20px;
            text-align: center;
            img {
                width: 40px;
            }
        }
    }
}

/*京东快报*/
.jd-news {
    position: relative;
    height: 30px;
    background-color: #eee;
    padding: 0 50px 0 75px;
    .news-tit {
        position: absolute;
        top: 7px;
        left: 0;
        width: 73px;
    }
    .more {
        position: absolute;
        top: 0;
        right: 0;
        width: 50px;
        height: 30px;
        text-align: center;
        line-height: 30px;
    }
    .cut {
        height: 30px;
        overflow: hidden;
        ul {
            width: 100%;
            li {
                padding-left: 20px;
                height: 30px;
                line-height: 30px;
            }
        }
    }
}

/*秒杀*/
.jd-kill {
    margin-top: 10px;
    /*秒杀头部*/
    .sk-title {
        height: 30px;
        line-height: 30px;
        .logo {
            width: 20px;
            height: 21px;
            background-position: -83px -110px;
            margin-top: 4px;
            margin-left: 4px;
        }
        .text {
            color: @jdc;
            margin: 0 15px;
        }
        .time {
            padding-top: 6px;
            span {
                float: left;
                width: 18px;
                height: 18px;
                margin: 0 3px;
                background-color: #000;
                color: #fff;
                border-radius: 3px;
                text-align: center;
                line-height: 18px;
            }
            span:nth-child(even) {
                width: 3px;
                color: #000;
                background-color: transparent;
            }
        }
        .more {
            margin-right: 5px;
            color: #ccc;
        }
    }
    /*主体*/
    .sk-main {
        overflow: auto;
        height: 110px;
        ul {
            width: 880px;
            li {
                float: left;
                width: 88px;
                text-align: center;
                border-right: 1px solid #ccc;
                img {
                    width: 70%;
                }
                p:nth-child(2) {
                    color: @jdc;
                    font-weight: 700;
                }
                p:nth-child(3) {
                    text-decoration: line-through;
                    color: #ccc;
                }
            }
        }
    }
}

/*主会场*/
.jd-show {
    a {
        float: left;
        width: 33.33%;
        img {
            width: 100%;
        }
    }
}

/*商品布局*/
.jd-product {
    ul {
        li {
            a {
                float: left;
                width: 50%;
                img {
                    width: 100%;
                }
            }
            &:nth-child(1) {
                a {
                    width: 33.33%;
                }
            }
        }
        
    }
}